package com.smy.jkds.po;


import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;

/**
 * @author z01140
 * @Package: com.smy.jkds.po
 * @Description:
 * @CreateDate 2021/10/30 16:59
 * @UpdateDate 2021/10/30 16:59
 */
public interface UserContextHolder {

    ThreadLocal<JkdsUser> USER_THREAD_LOCAL = ThreadLocal.withInitial(() -> null);
    ConcurrentMap<String, JkdsUser> USER_SESSION = new ConcurrentHashMap<>();

}
